package com.wcfsy.wechat.wx.um.service;

import java.util.List;
import java.util.Map;

import com.wcfsy.wechat.wx.pagination.IPage;
import com.wcfsy.wechat.wx.um.entity.Role;
import com.wcfsy.wechat.wx.um.entity.User;

public interface IUserConService {
	public void add(User paramUser);

	public void addUserAndRole(User paramUser, List<Long> paramList);

	public void deleteById(long paramLong);

	public void update(User paramUser);

	public void updateStatus(User paramUser);

	public void updateUserOrg(User paramUser);

	public User getById(long paramLong);

	public User getByUserName(String paramString);

	public IPage<User> findByParam(Map<String, Object> paramMap,int index, int size);

	public IPage<User> findAll(int paramInt1, int paramInt2);

	public void changePwd(User paramUser, String paramString);

	public List<Role> getRoleListByUserId(long paramLong);

	public void manageRole(long paramLong1, long paramLong2);

	public void manageRoleList(User paramUser, List<Long> paramList);

	/**
	 * 密码重置
	 * @param userName
	 */
	public void resetPwd(String userName);

	public boolean checkPermiscard(String paramString, long paramLong);

	public void login(Map paramMap);

	public User queryUserByCardId(long paramLong);

	public boolean checkUnLock(String paramString1, String paramString2);

}